package com.aaa.service;

import com.aaa.entity.Doctor;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DoctorService {
    PageInfo findDoctor(String dynName, String docName, String grand, int page, int size);
    Map findDoctorById(int docId);
    List<Map> findDoctorDesc();
    int updateDoctor(Doctor doctor);
    int addDoctor(Doctor doctor);
    int doctorDel(int docId);
    int checkDoctor(int fk_cid,int fk_dynId,String docSurname,String docName);//检测医家是否重复，返回重复的个数
    PageInfo findDoctorRepeat(int page,int size);//查询出所有重复名字的医家
}
